#pragma once
#include "Transport.h"
#include "EState.h"
#include "IOccur.h"
#include <string>

using namespace std;

class Event : public IOccur
{
private:
	STATE state;
	Transport* data;
public:

	Transport* Data() const { return data; }
	STATE State() const { return state; }

public:
	Event(void);
	Event(Transport* transport);
	Event(Transport* transport , STATE state , int occurTime);
	virtual ~Event(void);
};
